package conf

import (
	"time"
)



type Consul struct {
	Addr string
}

// Config is job config.
type Config struct {
	Env       *Env
	Kafka     *Kafka
	Comet     *Comet
	Room      *Room
	Consul *Consul
	Log *Log
}
type Log struct {
	Path string
}


// Room is room config.
type Room struct {
	Batch  int
	Signal time.Duration
	Idle   time.Duration
}

// Comet is comet config.
type Comet struct {
	RoutineChan int
	RoutineSize int
}

// Kafka is kafka config.
type Kafka struct {
	Topic   string
	Group   string
	Brokers []string
}

// Env is env config.
type Env struct {
	Host    string
	Addrs     []string
	Port      string
}
